INSERT INTO  TRASPARENZA

SELECT 'T26',BOLLETTA,'','D) TOTALE FORNITURA ENERGIA ELETTRICA E IMPOSTE (A+B+C)','','','','','','','',ROUND(SUM(TOTALE),2),
'',null FROM TRASPARENZA WHERE RIGA IN ('T00','T11','T22')
GROUP BY BOLLETTA


